package com.vhall.component.entity.preparation;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author guoxin.wang
 * @date 2021/7/8 14:25
 */
@Data
@TableName("invite_cards")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "InviteCardsEntity对象", description = "活动-邀请卡表")
public class InviteCardsEntity implements Serializable {

    private static final long serialVersionUID = 5718373210698389150L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "房间id")
    @JsonProperty("room_id")
    @TableField("room_id")
    private String roomId;

    @ApiModelProperty(value = "标题")
    @JsonProperty("title")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "活动时间")
    @JsonProperty("date")
    @TableField("`date`")
    private String date;

    @ApiModelProperty(value = "主办方")
    @JsonProperty("company")
    @TableField("company")
    private String company;

    @ApiModelProperty(value = "简介")
    @JsonProperty("description")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "地点")
    @JsonProperty("location")
    @TableField("location")
    private String location;

    @ApiModelProperty(value = "欢迎语")
    @JsonProperty("welcome_txt")
    @TableField("welcome_txt")
    private String welcomeTxt;

    @ApiModelProperty(value = "图片地址")
    @JsonProperty("img")
    @TableField("img")
    private String img;

    @ApiModelProperty(value = "展现方式")
    @JsonProperty("show_type")
    @TableField("show_type")
    private Integer showType;

    @ApiModelProperty(value = "图片类别0默认上传否则标示系统素材1-9")
    @JsonProperty("img_type")
    @TableField("img_type")
    private Integer imgType;

    @ApiModelProperty(value = "是否隐藏水印0显示水印1关闭水印")
    @JsonProperty("is_show_watermark")
    @TableField("is_show_watermark")
    private Integer isShowWatermark;

    @ApiModelProperty(value = "创建时间")
    @JsonProperty("created_at")
    @TableField("created_at")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新时间")
    @JsonProperty("updated_at")
    @TableField("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "删除时间")
    @JsonProperty("deleted_at")
    @TableField("deleted_at")
    private LocalDateTime deletedAt;

}
